/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.noah.model;

/**
 *
 * @author ngoc.phan
 */
public class UserModel {

    private String userName;
    private String password;
    private int userId;
    private RoleModel role; //private int roleId;
    //private String roleName;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * @return the userId
     */
    public int getUserId() {
        return userId;
    }

    /**
     * @param userId the userId to set
     */
    public void setUserId(int userId) {
        this.userId = userId;
    }



    /**
     * @return the role
     */
    public RoleModel getRole() {
        return role;
    }

    /**
     * @param role the role to set
     */
    public void setRole(RoleModel role) {
        this.role = role;
    }

   
}
